package com.song.asyn;

/**
 * @Author Klys
 * @Date 2023/6/27 0:58
 * @Description
 * @Version 1.0
 */
public class AsyncThread implements Runnable {

    private String threadName = "AsyncThread";

    public static void main(String[] args) {
        Thread asyncThread = new Thread(new AsyncThread());
        asyncThread.start();
    }

    @Override
    public void run() {
        System.out.println("当前线程名称：" + this.threadName
                + "，执行线程名称：" + Thread.currentThread().getName());
    }

}
